package com.example.test.主方法运行测试;

import cn.hutool.core.collection.CollectionUtil;
import cn.hutool.core.util.RandomUtil;
import cn.hutool.extra.mail.MailUtil;

public class SendEmail {

    public static void main(String[] args) {
        MailUtil.send(CollectionUtil.newArrayList("1792939443@qq.com"), "验证码",
                RandomUtil.randomNumbers(4), false, null);
    }

}
